package com.yidu.SystemsManagement.entity;

public class Journal {
    private int roleId ;                     // 角色Id
    private String rightCode;                // 功能编号
    private String diaryId;                  // 日志编号
    private String movement;                 // 动作
    private String state;                    // 状态
    private String userName;                 // 用户
    private String times;                    // 访问时间
    private String source;                   // 来源
    public Journal(){

    }

    public Journal(int roleId, String rightCode, String diaryId, String movement, String state, String userName, String times, String source) {
        this.roleId = roleId;
        this.rightCode = rightCode;
        this.diaryId = diaryId;
        this.movement = movement;
        this.state = state;
        this.userName = userName;
        this.times = times;
        this.source = source;
    }

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }

    public String getRightCode() {
        return rightCode;
    }

    public void setRightCode(String rightCode) {
        this.rightCode = rightCode;
    }

    public String getDiaryId() {
        return diaryId;
    }

    public void setDiaryId(String diaryId) {
        this.diaryId = diaryId;
    }

    public String getMovement() {
        return movement;
    }

    public void setMovement(String movement) {
        this.movement = movement;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getTimes() {
        return times;
    }

    public void setTimes(String times) {
        this.times = times;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    @Override
    public String toString() {
        return "journal{" +
                "roleId=" + roleId +
                ", rightCode='" + rightCode + '\'' +
                ", diaryId='" + diaryId + '\'' +
                ", movement='" + movement + '\'' +
                ", state='" + state + '\'' +
                ", userName='" + userName + '\'' +
                ", times='" + times + '\'' +
                ", source='" + source + '\'' +
                '}';
    }
}

